<nz-layout class="layout">
  <nz-header *ngIf="header()">
    <app-header id="kl-layout-header"></app-header>
  </nz-header>
  <nz-sider class="sider" *ngIf="menu()">
    <app-menu id="kl-layout-menu"></app-menu>
  </nz-sider>
  <nz-layout [ngClass]="{'app-container':(header()&&menu()),'applogin':!(header()&&menu())}">
    <div class="loding" [hidden]="!isSpinning()">
      <nz-spin nzTip='加载中...' [nzSize]="'large'">
      </nz-spin>
    </div>
    <router-outlet></router-outlet>
  </nz-layout>
</nz-layout>
